package com.ruoyi.web.controller.example;

import com.ruoyi.common.annotation.Anonymous;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Anonymous
@RestController
@RequestMapping("/example")
public class First1Controller {
    @Value("&(ruoyi.name)")
    private String ruoyiName;
    @Value("$(ruoyi.version)")
    private String ruoyiversion;

    @GetMapping("/first")
    public String Hello(){
        return "若依名字：" + ruoyiName
                + "若依版本" + ruoyiversion;
    }

}
